package brushQuestions.thread;

import brushQuestions.thread.WaitNotify.Consumer;
import brushQuestions.thread.WaitNotify.Producer;

/**
 * 线程main方法
 *
 * @author: mengfanbing
 * @date: 2020/5/28 11:31
 */
public class ThreadMain {
    public static void main(String[] args) {
        Thread thread2 = new Thread(new Producer());
        Thread thread1 = new Thread(new Consumer());

        thread2.start();
        thread1.start();

    }
}
